package com.liujit.bms.app.domain.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.liujit.common.domain.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 博客会员
 * @Author liujun
 * @Date 2021-07-13 11:10:50
 */
@Data
@ApiModel(value = "BlogMember", description = "博客会员")
@TableName(value = "blog_member")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class BlogMember extends BaseModel {

    @ApiModelProperty(value = "小程序openId")
    private String openId;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "性别：0、未知。1、男。2、女。")
    private Short gender;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "个性签名")
    private String signature;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "启用：1、是。0、否。")
    private Short enabled;
}